package com.gxa.modules.pojo;


import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
public class Customer {

  private long id;
  private String name;
  private long sex;
  private String phone;
  private long age;
  private String identity_card;
  private String education;
  private String marriage;
  private String email;
  private long bank_id;
  private long contact_id;
  private long identity_id;
  private long live_information_id;
  private long professional_id;
//居住信息
  private LiveInformation liveInformation;
//  联系人信息
  private Contact contact;
//  职业信息
  private Professional professional;
//  身份证认证信息
  private IdentityAuthentication identityAuthentication;
//  银行信息
  private Bank bank;
  private String customer_qq;
  private String customer_wechat;
  private String customer_email;
  private List<Bank> listBank;
  private List<Loan> listLoan;

//  车辆证明消息
  private List<CarProve> carProveList;

  private int state;
  //注册时间
  private Date registration_time;
  //贷款信息
  private Loan loan;
  //居住信息表
  private LiveInformation liveInformationl;
  @Override
  public String toString() {
    return "Customer{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", sex=" + sex +
            ", phone='" + phone + '\'' +
            ", age=" + age +
            ", identity_card=" + identity_card +
            ", education='" + education + '\'' +
            ", marriage='" + marriage + '\'' +
            ", email='" + email + '\'' +
            ", bank_id='" + bank_id + '\'' +
            ", contact_id='" + contact_id + '\'' +
            ", identity_id='" + identity_id + '\'' +
            ", live_information_id='" + live_information_id + '\'' +
            ", professional_id='" + professional_id + '\'' +
            ", liveInformation=" + liveInformation +
            ", contact=" + contact +
            ", professional=" + professional +
            ", identityAuthentication=" + identityAuthentication +
            ", bank=" + bank +
            ", carProveList=" + carProveList +
            '}';
  }
}
